package com.newlink.building.main.mvp.model

import com.newlink.building.common_base.base.BaseModel
import com.newlink.building.common_base.http.Base_RetrofitHelper
import com.newlink.building.common_base.model.bean.HttpResult
import com.newlink.building.common_base.model.bean.RoomUserData
import com.newlink.building.main.mvp.contract.Module_Main_RoomUserContract
import io.reactivex.Observable

/**
 * @Author: Jake
 * @Date: 2024-10-15
 * @Description:
 */
class Module_Main_RoomUserModel : BaseModel(), Module_Main_RoomUserContract.Model {
    override fun getRoomUserList(
        token: String,
        roomId: String,
        name: String,
    ): Observable<HttpResult<MutableList<RoomUserData>>> {
        return Base_RetrofitHelper.service.getRoomUserList(token, roomId, name)
    }
}